//
//  GYMineOrderInfoDetailViewModel.h
//  GYDemo
//
//  Created by mac on 2018/4/4.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseViewModel.h"
#import "GYMineOrderInfoViewModel.h"

@interface GYMineOrderInfoDetailGoodsModel :NSObject
@property (nonatomic, assign) NSInteger amount;
@property (nonatomic, assign) NSInteger count;
@property (nonatomic, assign) NSInteger idField;
@property (nonatomic, strong) NSString * picurl;//imgurl
@property (nonatomic, assign) NSInteger price;
@property (nonatomic, strong) NSString * name;//productName
@property (nonatomic, assign) NSInteger proid;
@property (nonatomic, strong) NSString * protypename;//typeName
@property (nonatomic, strong) NSString * unit;
@end

@interface GYMineOrderInfoDetailModel :NSObject
@property (nonatomic, assign) NSInteger amount;
@property (nonatomic, assign) NSInteger buyid;
@property (nonatomic, strong) NSObject * cancelid;
@property (nonatomic, strong) NSObject * cancelreason;
@property (nonatomic, strong) NSString * cancelreasonType;
@property (nonatomic, strong) NSObject * canceltype;
@property (nonatomic, assign) NSInteger companyid;
@property (nonatomic, strong) NSString * companyname;
@property (nonatomic, strong) NSString * createtime;
@property (nonatomic, strong) NSString * descriptionField;
@property (nonatomic, strong) NSString * evalflag;
@property (nonatomic, strong) NSString * evaluateCreatetime;
@property (nonatomic, strong) NSObject * evaluateGrade;
@property (nonatomic, strong) NSString * evaluateRemark;
@property (nonatomic, strong) NSString * idField;
@property (nonatomic, strong) NSString * mobile;
@property (nonatomic, strong) NSArray * productList;
@property (nonatomic, strong) NSString * qq;
@property (nonatomic, assign) NSInteger saleid;
@property (nonatomic, strong) NSString * statusName;
@property (nonatomic, strong) NSString * transtatus;
@end

@interface GYMineOrderInfoDetailViewModel : GCBaseViewModel
@property (nonatomic,strong) GYMineOrderInfoModel *orderInfoModel;
@property (nonatomic,strong) GYMineOrderInfoDetailModel * orderInfoDetailModel;
@property (nonatomic,strong) NSString *updateSign;
@property (nonatomic,strong) NSString *SecUpdateSign;
-(void)requestDetail;
-(void)requestCancel:(NSMutableDictionary *)para;
-(void)requestEvalate:(NSMutableDictionary *)para;
-(void)requestConfirm:(NSMutableDictionary *)para;
-(void)requestSave:(NSMutableDictionary *)para;
@end
